﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MuXue.Zyiz.Template.Domain.Entity
{
	/// <summary>
	///【Demo可删除】订单对应的商品信息表
	/// </summary>
	[Serializable]
	public partial class cs_order_course
	{
		public cs_order_course()
		{}
        #region Model

        /// <summary>
        /// 编号
        /// </summary>
        [Key]
        public int id { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 课程id
        /// </summary>
        public int course_id { get; set; }
        /// <summary>
        /// 课程名称
        /// </summary>
        public string course_name { get; set; }
        /// <summary>
        /// 课程单价
        /// </summary>
        public decimal course_price { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public int? city_id { get; set; }
        /// <summary>
        /// 年级
        /// </summary>
        public string course_grade { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string city_name { get; set; }
        /// <summary>
        /// 科目
        /// </summary>
        public string course_subject { get; set; }
        /// <summary>
        /// 合同类型Id
        /// </summary>
        public int? contract_type_id { get; set; }
        /// <summary>
        /// 合同类型名称
        /// </summary>
        public string contract_type_name { get; set; }
        /// <summary>
        /// 课次（3课次=9课时）
        /// </summary>
        public int class_times { get; set; }
        /// <summary>
        /// 创建日期 默认为当前时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 课程总价
        /// </summary>
        public decimal course_totprice { get; set; } = 0;
        #endregion Model

    }
}

